if(window.CH == undefined){
    window.CH = {};
}

CH.undoredo=function(){
    this.id="";
    this.lastaction=0;
    this.lastvalue=0;
    this.nextvalue=0;
    
}; 

CH.undoredo.prototype.id="";
CH.undoredo.prototype.lastaction=0;  //added
CH.undoredo.prototype.lastvalue=0; //added
CH.undoredo.prototype.nextvalue=0; //added


CH.undoredo.prototype.say=function(abc){
    alert(abc);
}